function getIPAddress(){
    var interfaces = require('os').networkInterfaces();
    for(var devName in interfaces){
        var iface = interfaces[devName];
        for(var i=0;i<iface.length;i++){
            var alias = iface[i];
            if(alias.family === 'IPv4' && alias.address !== '127.0.0.1' && !alias.internal){
                return alias.address;
            }
        }
    }
  }
module.exports ={
    host: getIPAddress() || "localhost",
    port: 3000,
    sqlConfig:{
        host: "106.13.233.166",
        user: "root",
        password: "abcd0412*",
        database: "saas"
    },
    secretKey:'lch',
    expireTime:'12000s'
}